<header data-am-widget="header" class="am-header am-header-default am-no-layout">
	<div class="am-header-left am-header-nav">
		<a ng-click="goBack();" class=""><img class="am-header-icon-custom" src="data:image/svg+xml;charset=utf-8,&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 12 20&quot;&gt;&lt;path d=&quot;M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z&quot; fill=&quot;%23fff&quot;/&gt;&lt;/svg&gt;" alt=""> </a>
	</div>
	<div class="am-header-right am-header-nav">
		<a ng-click="homePage()" class=""><i class="am-icon-home am-icon-sm"> </i></a>
	</div>
	<h1 class="am-header-title">
		<a>购物车</a>
	</h1>
</header>

<div class="am-g">

	<div class="am-list-news-bd am-u-sm-12">
		<ul class="am-list">
			<li class="am-g" data-ng-repeat="item in products">
				<div class="am-u-sm-4 am-list-thumb am-container am-padding-bottom-xs am-padding-top-xs">
					<a> <img ng-src="{{ baseUrl+item.product.thumbId}}">
					</a>
				</div>
				<div class="am-u-sm-8 am-container am-padding-bottom-xs am-padding-top-xs">
					<h4>
						<span data-ng-bind="item.product.description"></span> <span class="am-cf am-fr" data-ng-click="deleteItem(item);"><i class="am-icon-minus-square-o am-icon-sm"></i></span>
					</h4>
					<h5 class="am-list-item-text">
						规格：<span data-ng-bind="item.product.specification"></span>
					</h5>
					<div class="am-btn-group am-btn-group-xs am-fr">
						<span class="am-btn am-btn-xs am-btn-default am-round" ng-click="minusProduct(item)"><i class="am-icon-minus"></i></span> <span class="am-btn am-btn-xs am-btn-default" id="buy_num" disabled data-ng-bind="item.amount"></span> <span class="am-btn am-btn-xs am-btn-default am-round" ng-click="addProduct(item)"><i class="am-icon-plus"></i></span>
					</div>
					<br /> <span style="color: red;"> ￥<span data-ng-bind="item.product.price"></span></span>
				</div>
			</li>

		</ul>
	</div>




	<div class=" am-navbar am-block">
		<ul class="">
			<li class="">
				<div class="am-u-sm-12 am-list-main am-btn am-btn-default" style="background-color: #;">
					<span class="am-fr am-btn am-btn-sm am-btn-success" ng-click="pay();"> <i class="am-icon-shopping-cart"></i>立即购买
					</span> <span class="am-fl" style="color: orange;">共计：<span data-ng-bind="totalPrice"></span>元
					</span>
				</div>
			</li>
		</ul>
	</div>


</div>
<script type="text/javascript">
	$(function() {
		$('.am-slider').flexslider();
		$('#doc-my-tabs').tabs();
	});
</script>